<?php 

/************************************************************************
*   Copyright 2012 Daniel Schwarz
*
*   Licensed under the Apache License, Version 2.0 (the "License");
*   you may not use this file except in compliance with the License.
*   You may obtain a copy of the License at
*
*   http://www.apache.org/licenses/LICENSE-2.0
*
*   Unless required by applicable law or agreed to in writing, software
*   distributed under the License is distributed on an "AS IS" BASIS,
*   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*   See the License for the specific language governing permissions and
*   limitations under the License.
**************************************************************************/

if (isset($_POST['submit']) OR isset($_POST['reset']))
{
include 'script.php';
}
?>
<h3>&Uuml;berstunden - Beta 0.7</h3>
<table border="1" cellpadding="10">
<td>
<form action="index.php?p=neu" method="post">
Name*<br>
<input type="text" size="24" maxlength="50"
name="name"><br><br>
Passwort*<br>
<input type="password" size="24" maxlength="24"
name="passwort"><br><br>
Passwortbest&auml;tigung*<br>
<font size="2px">nur beim 1. Mal erforderlich</font><br>
<input type="password" size="24" maxlength="24"
name="passwort2"><br><br>
Stunden*<br>
<font size="2px">Minusstunden: -stundenzahl (z.B. -2)</font><br>
<input type="text" size="4" maxlength="4"
name="stunden"><br><br>
Datum*<br>
<div><input type="text" name="datum" class="tcal" value="" readonly /></div><br><br>
(optional) Hinweis<br>
<textarea name="hinweis" cols="25" rows="5" onKeyDown="limitText(this.form.hinweis,this.form.countdown,100);" 
onKeyUp="limitText(this.form.hinweis,this.form.countdown,100);">
</textarea><br>
<font size="2px">(Maximale Zeichen: 100)<br>
Du hast<input readonly type="text" name="countdown" size="3" value="100"> Zeichen &uuml;brig.</font><br><br>
<input type="submit" value="Abschicken" name="submit"><br><br>
<font size="2px">Die mit * gekennzeichneten Felder sind Pflichtfelder</font><br>
<hr noshade width="300" size="3" align="left"><br>
<input type="submit" value="Stunden wurden ausgezahlt" name="reset">**<br>
<br><font size="2px">** Nur Name und Passwort ben&ouml;tigt!</font><br>
</form>
</td>
</table>
<center><font size="2px" color="#999999">
 Copyright 2012 Daniel Schwarz<br>
    </font>
    </center>